<div class="box">
        <!-- box / title -->
        <div class="title">
                <h5>Sell Out</h5>
                <ul class="links">
                        <!-- <li><a href="<?=base_url().'index.php/sell_out/newsell_out'?>">Create Sell Out</a></li>
                        <li><a href="<?=base_url().'index.php/sell_out'?>">List Sell Out</a></li> -->
                </ul>
        </div>
        <!-- end box / title -->
        
        <?php
			if (!isset($jenis))
			{
		?>
        <div class="table">
               
                <base href="<?php echo base_url() ?>" />
                <div id="ajaxLoadAni">
                    <img src="file/smooth/images/ajax-loader.gif" alt="Ajax Loading Animation" />
                    <span>Loading...</span>
                </div>
                        <table id="records">
                            <thead>
                                <!-- <tr>
									<th>No</th>
									<th>Date</th>
									<th>Sell Out No</th>
									<th>Sales Name</th>
									<th>Actions</th>
                                </tr> -->
                            </thead>
                            <tbody></tbody>
                        </table>    
                  <?=$this->load->view("grid-sell-out");?>            
        </div>
        <?php
			}
			else
			{
		?>
        <div class="table">
                
                <?php
                if($jenis == "create"){
                        $this->load->view('f-sell-out-create');
                }
                ?>
        </div>
		<?php
			}
		?>
</div>